package com.colis.quartz.common.extension;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * <p> 描述：项目启动完后执行 </p>
 *
 * @author wlp
 * @version 1.0.0
 * @date 2021/12/10 10:15
 */
@Slf4j
@Component
@RequiredArgsConstructor
public class MyApplicationRunner implements ApplicationRunner {

    @Override
    public void run(ApplicationArguments args) {
        log.info("项目启动完成!");
    }
}
